package com.ynet.middleground.contract.bean;

import javax.validation.constraints.NotBlank;

import com.ynet.core.common.BaseReqObj;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * @author liulx
 * @description 签署后 pdf 验证请求信息
 * @date 2020-04-12 02:13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "pdf 文档验签请求信息", description = "签署后 pdf 验签请求信息")
public class VerifyPdfSignReq extends BaseReqObj {

    private static final long serialVersionUID = 1304985326469782695L;

    @ApiModelProperty(value = "待验签的 pdf 文件短路径地址(包含 Bucket) \n  如：zhongtai/file.pdf",
        notes = "待验签的 pdf 文件短路径地址(包含 Bucket) \n  如：zhongtai/file.pdf", dataType = "String", required = true)
    @NotBlank(message = "待验签 pdf 地址不能为空")
    private String url;

}
